package com.etc.aop.springaop.annotation;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 班花
 * 
 * @author Administrator
 *
 */
@Component(value = "cf")
public class ClassFlower {

	@Value(value = "甄如花")
	private String name;

	public ClassFlower(String name) {
		super();
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "ClassFlower [name=" + name + "]";
	}

	public ClassFlower() {
		// TODO Auto-generated constructor stub
	}

}
